<script lang="ts" setup>
defineProps<{ src: string; customStyle?: any }>();
</script>

<template>
	<view class="um-video">
		<video :style="customStyle" :src="src" controls v-if="src" />
		<um-image v-else></um-image>
	</view>
</template>
